﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="deductPercentageList.aspx.cs"
    Inherits="PeisongWeb.admin.deductPercentageList" %>

<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register TagName="top" Src="controls/top.ascx" TagPrefix="uc1" %>
<%@ Register TagName="menu" Src="controls/menu.ascx" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>销售提成比例管理</title>
    <!--#include file="style.inc"-->
</head>
<body>
    <form id="form1" runat="server">
    <ext:ScriptManager ID="ScriptManager1" runat="server" />
    <uc1:top ID="Top1" runat="server" />
    <uc2:menu ID="Menu1" runat="server" />
    <div id="admin-body">
        <h2 class="section-cms">
            提成比例列表
        </h2>
        <div id="admin_list_content">
            <table cellpadding="0" cellspacing="0">
                <tr class="header-row">
                    <th>
                        采购规模(天)
                    </th>
                    <th>
                        季度提成系数
                    </th>
                    <th>
                        年度提成系数
                    </th>
                </tr>
                <asp:Repeater ID="rpt_list" runat="server">
                    <ItemTemplate>
                        <tr class='<%# Container.ItemIndex%2==0? "row-alt":"alt"  %>'>
                            <td>
                                <%#Eval("scope")%>
                                 <asp:HiddenField runat="server" ID="hid_dpid" Value='<%#Eval("dpid")%>' />
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txt_seasonRate" Text=' <%#Eval("seasonRate")%>' Width="60px"></asp:TextBox>%
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txt_yearendRate" Text=' <%#Eval("yearendRate")%>'
                                    Width="60px"></asp:TextBox>%
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
        </div>
        <div style="<%=power>=2?"":"display:none" %>;padding-left: 400px">
            <asp:Button runat="server" ID="btn_save" Text=" 修 改 "  OnClick="btn_save_Click"/>
        </div>
    </div>
    </form>
</body>
</html>
